package com.ktjy.dao.impl;

import com.ktjy.dao.PetDao;
import com.ktjy.entity.Pet;

import org.springframework.stereotype.Repository;

//@Component("petDao")
@Repository("petDaoMySQL")

public class PetDaoMySQLImpl implements PetDao {
    @Override
    public int insert(Pet pet) {
        System.out.println("将宠物"+pet.getName()+"插入到mysql数据库");
        return 1;
    }
}
